﻿using AloneLibrary.GameObjects;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Alone.GameObjects.Objects
{
    public class Ammo : StaticGameObject
    {
        private int updateAmmoInterval = 10; //how long it should be hidden in seconds
        private int hiddenSince;

        /// <summary>
        /// Gets or sets the hidden since.
        /// </summary>
        /// <value>The hidden since.</value>
        public int HiddenSince
        {
            get { return hiddenSince; }
            set { hiddenSince = value; }
        }

        /// <summary>
        /// Gets or sets the update ammo interval.
        /// </summary>
        /// <value>The update ammo interval.</value>
        public int UpdateAmmoInterval
        {
            get { return updateAmmoInterval; }
            set { updateAmmoInterval = value; }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Ammo"/> class.
        /// </summary>
        /// <param name="model">The model.</param>
        /// <param name="effect">The effect.</param>
        /// <param name="position">The position.</param>
        /// <param name="rotation">The rotation.</param>
        /// <param name="scale">The scale.</param>
        public Ammo(Model model, Effect effect, Vector3 position, Vector2 rotation, float scale)
			: base(model, effect, position, rotation, scale)
		{ 
        }
    }
}
